package com.plt.w2w;

import java.util.HashSet;
import java.util.Set;

public class Garment {
	String type;
	String weight;
	String color;
	String shade;
	String maker;
	int preference;
	
	public Garment(String type, String weight, String maker, String color, String shade, String preference){
		this.type = type;
		this.weight = weight;
		this.maker = maker;
		this.shade = shade;
		this.color = color;
		this.preference = Integer.parseInt(preference);
	}

	public String getWeight() {
		return weight;
	}

	public void setWeight(String weight) {
		this.weight = weight;
	}

	

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getMaker() {
		return maker;
	}

	public void setMaker(String maker) {
		this.maker = maker;
	}

	public String getShade() {
		return shade;
	}

	public void setShade(String shade) {
		this.shade = shade;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public int getPreference() {
		return preference;
	}

	public void setPreference(int preference) {
		this.preference = preference;
	}
	
	public void printNicely(){
		System.out.println("New Item:");
		System.out.println("Item = "+this.type);
		System.out.println("Maker = "+this.maker);
		System.out.println("Color = "+this.color);
		System.out.println("Shade = "+this.shade);
		System.out.println("Preference = "+this.preference);
		System.out.println();
	}
}
